package com.alog.senior.day07.demo1;

import java.util.Scanner;

/**
 * @Auther: Ye Zhengdong
 * @Date: 2019/1/17 16:30
 * @Description:
 */
public class Demo02Scanner {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一个数字:");
        int a = sc.nextInt();
        System.out.println("请输入第二个数字:");
        int b = sc.nextInt();
        System.out.println("结果是:" + (a + b));
    }
}
